﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NodeBasedSkillEditor.Model.CommandHistory
{
    public class Cmd_DeleteSubPort : CommandRecord
    {
        public override ECommandType CmdType => ECommandType.DeleteSubPort;

        public Record_SubPort DeletedSubPort;
        public HashSet<(uint, uint)> DeletedLinks;

        public Cmd_DeleteSubPort(Record_SubPort delPortRec, HashSet<(uint, uint)> delLinks)
        {
            DeletedSubPort = delPortRec;
            DeletedLinks = delLinks;
        }
    }
}
